package com.study.reactor.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author Cliff
 * 时间：2022/8/30
 * 描述：
 */
@Data
public class SelectDocumentParamDTO {

    @ApiModelProperty("客户编码")
    private List<String> customerNoList;

    @ApiModelProperty("收款单单编码")
    private List<String> billNoList;

    @ApiModelProperty("组织")
    private String belongCompanyCode;

    @ApiModelProperty("单据来源")
    private Integer source;


    @ApiModelProperty("业务日期开始")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date businessDateStart;

    @ApiModelProperty("业务日期结束")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date businessDateEnd;

    @ApiModelProperty("是否执行for update 操作")
    private Boolean forUpdate;

}
